package com.hzw.saas.web.app.schedule.param;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author hankun
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "日程查询参数 ")
public class UserScheduleSearchParam {

   @ApiModelProperty(value = "标题", position = 1)
    private String title;

    @ApiModelProperty(value = "分组id", position = 3)
    private List<String> groupId;

    @ApiModelProperty(value = "标签id", position = 4)
    private List<String> tagId;

    @ApiModelProperty(value = "状态", position = 5)
    private List<Integer> status;

    @ApiModelProperty(value = "分组名称", position = 6)
    private String groupName;

    @ApiModelProperty(value = "标签名称", position = 7)
    private String tagName;

    @ApiModelProperty(value = "开始时间 ", position = 8)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间 ", position = 9)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "删除至垃圾桶 0:正常 1:垃圾桶", position = 10)
    private Integer ashcanFlag;

}
